import request from '/@/utils/request';

//获取营业状态
export const getShopStatus = () => {
	return request({
		url: '/shop/status',
		method: 'get',
	});
};

//设置营业状态
export const setShopStatus = (data:number) => {
	return request({
		url: '/shop/' + data,
		method: 'put',
	});
};
